import os
import sys
from  locust_runs.run_pytest_main import runCase
base_path = os.getcwd()
# print(base_path)
#获取主程序路径
sys.path.append(base_path)
base_path_init = os.path.abspath(os.path.join(os.path.dirname('settings.py'), os.path.pardir))
#更换调试脚本名称
file_path = base_path + "/test_cases/maintenance/test_maintenanceinfo.py"
# print(base_path_init)
if __name__ == '__main__':
    #master启动,写日志
    #runCase.case_for_run(param="log",file_path=file_path, run_name="master")
    runCase.case_for_run(file_path=file_path, run_name="master")









# See PyCharm help at https://www.jetbrains.com/help/pycharm/
